package com.cyq.dascma.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 班级实体
 * dingwen
 * 2021/3/9 16:41
 **/
@Getter
@Setter
@ToString
@ApiModel(description = "班级表")
@TableName("dasc_man_clazz")
public class Clazz implements Serializable {
    private static final long serialVersionUID = -1516898338715361980L;

    @ApiModelProperty(value = "班级ID", name = "clazzId")
    @TableId(value = "clazz_id")
    @TableField("clazz_id")
    private String clazzId;

    @ApiModelProperty(value = "班级名称", name = "clazzName")
    @TableField("clazz_name")
    private String clazzName;

    @ApiModelProperty(value = "班级年限", name = "clazzYear")
    @TableField(value = "clazz_year")
    private String clazzYear;

    @ApiModelProperty(value = "该班级的班主任ID", name = "teacherId")
    @TableField(value = "teacher_id")
    private String teacherId;
}
